package com.woniuxy.carlife.carlifeuserclient.otherFeign;

import com.woniuxy.carlife.carlifeuserclient.dto.ChargingStationDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author zjq
 * @ClassName:chargingFegin
 * @Description:充电站
 * @date 2021/4/16 14:14
 **/
@FeignClient(name = "carlifechargedweb-service/chargeds/chargingStation")
public interface ChargingFegin {
    @GetMapping("/ordinary/findByOne")
    public ChargingStationDto findByOne(@RequestParam("chargingStationId") Integer chargingStationId);
}
